package zgrjb.snbq.teach_platform.service;

import zgrjb.snbq.teach_platform.dto.req.LoginRequest;
import zgrjb.snbq.teach_platform.dto.req.RegisterRequest;
import zgrjb.snbq.teach_platform.enums.SendCodeEnum;
import zgrjb.snbq.teach_platform.util.JsonData;
import zgrjb.snbq.teach_platform.dto.model.UserDO;

public interface UserService {
    JsonData sendCode(SendCodeEnum attendeeUserRegister, String phone);

    JsonData register(RegisterRequest request);

    JsonData login(LoginRequest request);

    UserDO getUserByTeacherNo(String teacherNo);

    UserDO getUserByStudentId(String studentId);

    UserDO getUserByName(String name);
}
